package com.water_work_form.mapper;

import com.water_work_form.entity.BasicCurve;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.water_work_form.entity.BasicFormula;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 基础表——曲线信息 Mapper 接口
 * </p>
 *
 * @author xuke
 * @since 2023-08-01
 */
@Mapper
public interface BasicCurveMapper extends BaseMapper<BasicCurve> {

    @Select("SELECT * FROM basic_curve WHERE name = #{name}")
    BasicCurve getOneByName(String name);
}
